The channel width for WiFi 802.11be displays incorrectly on the
graph and this commit fixes it.
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
if (chan_analysis.offset_tbl[local_wifi.channel] != null && local_wifi.center_chan1) {
var center_channels = [local_wifi.center_chan1],
- chan_width_text = local_wifi.htmode.replace(/(V)*H[TE]/,''), /* Handle HT VHT HE */
+ chan_width_text = local_wifi.htmode.replace(/[EV]*H[TE]/,''), /* Handle HT VHT HE EHT */
chan_width = parseInt(chan_width_text)/10;
if (local_wifi.center_chan2) {